﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/11/27 16:50:12
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    //{"code_msg":"","code":200,"info":{"comicsdetail":[{"bigbook_name":"穿越西元3000后","bigbook_author":"小小作文@@飒漫画","bigbook_id":13794,"subject_name":"热血","bigbook_brief":"《穿越西元3000后》剧情：支持穿越西元3000后，支持国漫，支持穿越西元3000后请购买杂志。《穿越西元3000后》是连载于超人气漫画家刘飒的个人专辑《飒漫画》第57期（2011年10月上）的一部漫画。主笔为小小作文。编剧为天平。画风细腻，人物美型，剧情奇特。生活在西元2011年C国H市第五中学的普通高一女生，推算为16岁，她和死党卫小桔在一起探索山洞里奇怪的绿光时，被一股及其强大的磁力吸引来到了西元3011年，莫名其妙的来到了A国的军事基地。而且发现自己竟然裸体穿越了............漫画岛是更新最快~画质最好的漫画杂志连载网站！！收藏漫画岛，全网第一时间更新！。","discusscount":4352,"gradescore":4,"coverurl":"http:\/\/mhd.1391.com\/book\/4fm\/cyxy3000h3.jpg","key_name":"穿越,冒险,搞笑,节操,穿越西元三千后,少年,穿越公元3000后,黑白"}]}}

    [DataContract]
    public class JsonComicDetailComicsdetail
    {
        [DataMember(Name = "bigbook_name")]
        public string BigbookName { get; set; }

        [DataMember(Name = "bigbook_author")]
        public string BigbookAuthor { get; set; }

        [DataMember(Name = "bigbook_id")]
        public int BigbookId { get; set; }

        [DataMember(Name = "subject_name")]
        public string SubjectName { get; set; }

        [DataMember(Name = "bigbook_brief")]
        public string BigbookBrief { get; set; }

        [DataMember(Name = "discusscount")]
        public int Discusscount { get; set; }

        [DataMember(Name = "gradescore")]
        public double Gradescore { get; set; }

        [DataMember(Name = "coverurl")]
        public string Coverurl { get; set; }

        [DataMember(Name = "key_name")]
        public string KeyName { get; set; }
    }

    [DataContract]
    public class JsonComicDetailInfo
    {

        [DataMember(Name = "comicsdetail")]
        public ObservableCollection<JsonComicDetailComicsdetail> Comicsdetail { get; set; }
    }

    [DataContract]
    public class JsonComicDetailBase
    {

        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonComicDetailInfo Info { get; set; }
    }

}
